Skip to content

Ruby: Add more granular test rake tasks#1257

Merged
marcoroth merged 1 commit into
mainfrom
ruby-test-rake-tasks
Feb 28, 2026
Merged

Ruby: Add more granular test rake tasks#1257
marcoroth merged 1 commit into
mainfrom
ruby-test-rake-tasks

Conversation

@marcoroth

@marcoroth marcoroth commented Feb 28, 2026

Copy link
Copy Markdown
Owner

This pull request splits the Ruby test suite into separate rake tasks so rake test only runs the fast core tests (lexer, parser, analyze) by default in a few 100ms.

The CLI tests, which are slower (like 2-3s) because they test the full CLI interface and shell out to the exe/herb binary, are moved to test/integration/ and run via rake test:integration.

Engine tests get their own rake test:engine task. rake test:all runs everything and is used in CI, NX, and the bin scripts.

For completeness, when running rake test, we'll also print a tip letting contributors know about the other tasks.

@github-actions

github-actions Bot commented Feb 28, 2026

Copy link
Copy Markdown

🌿 Interactive Playground and Documentation Preview

A preview deployment has been built for this pull request. Try out the changes live in the interactive playground:


🌱 Grown from commit 37d8ce8


✅ Preview deployment has been cleaned up.

@pkg-pr-new

pkg-pr-new Bot commented Feb 28, 2026

Copy link
Copy Markdown
npx https://pkg.pr.new/@herb-tools/formatter@1257
npx https://pkg.pr.new/@herb-tools/language-server@1257
npx https://pkg.pr.new/@herb-tools/linter@1257

commit: 37d8ce8

@marcoroth marcoroth force-pushed the ruby-test-rake-tasks branch from 4e35665 to 37d8ce8 Compare February 28, 2026 02:16
@marcoroth marcoroth merged commit 695478d into main Feb 28, 2026
32 checks passed
@marcoroth marcoroth deleted the ruby-test-rake-tasks branch February 28, 2026 02:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant